#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
#include<math.h>
int main()
{
	int n = 0, i = 0, arr[10005] = { 0 }, arr2[10005] = { 0 };
	int max = 0;
	scanf("%d", &n);
	for (i = 0; i < n; i++)
	{
		scanf("%d", &arr[i]);
	}
	for (i = 0; i < n; i++)
	{
		if (arr[i] > max)
		{
			max = arr[i];
		}
	}


	for (i = 0; i < n; i++)
	{
		if(arr[i]<=max)
			arr2[arr[i]]++;
	}
	for (i = 0; i <= max; i++)
	{
		printf("%d\n", arr2[i]);
	}
	return 0;
}
